package cwe

/*
 * Sorted by the most commonly occurring CWEs from Github Advisories
 */
var cweCommonName = map[int]string{
	// Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
	79: "Cross Site Scripting (XSS)",
	// Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
	22: "Directory Traversal",
	// Improper Input Validation
	20: "Improper Input Validation",
	// Uncontrolled Resource Consumption
	400: "Denial of Service (DoS)",
	// Exposure of Sensitive Information to an Unauthorized Actor
	200: "Information Disclosure",
	// Embedded Malicious Code
	506: "Malware",
	// Deserialization of Untrusted Data
	502: "Deserialization of Untrusted Data",
	// Cross-Site Request Forgery (CSRF)
	352: "Cross-Site Request Forgery (CSRF)",
	// Improper Control of Generation of Code ('Code Injection')
	94: "Code Injection",
	// Improper Authentication
	287: "Improper Authentication",
	// Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
	78: "OS Command Injection",
	// Out-of-bounds Write
	787: "Out-of-bounds Write",
	// Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
	1321: "Prototype Pollution",
	// Improper Neutralization of Special Elements used in a Command ('Command Injection')
	77: "Command Injection",
	// Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
	89: "SQL Injection",
	// Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
	74: "Injection",
	// Improper Restriction of XML External Entity Reference
	611: "XML External Entity (XXE) Reference",
	// Incorrect Authorization
	863: "Incorrect Authorization",
	// Missing Encryption of Sensitive Data
	311: "Unencrypted Sensitive Data",
	// Missing Authorization
	862: "Missing Authorization",
	// Server-Side Request Forgery (SSRF)
	918: "Server-Side Request Forgery (SSRF)",
	// URL Redirection to Untrusted Site ('Open Redirect')
	601: "Open Redirect",
	// Out-of-bounds Read
	125: "Out-of-bounds Read",
	// Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
	362: "Race Condition",
	// Improper Certificate Validation
	295: "Improper Certificate Validation",
	// Improper Privilege Management
	269: "Improper Privilege Management",
	// Unrestricted Upload of File with Dangerous Type
	434: "Unrestricted File Upload",
	// Improper Access Control
	284: "Improper Access Control",
	// NULL Pointer Dereference
	476: "NULL Pointer Dereference",
	// Exposure of Resource to Wrong Sphere
	668: "Sensitive Resource Exposure",
	// Improper Restriction of Operations within the Bounds of a Memory Buffer
	119: "Improper Restriction of Operations within the Bounds of a Memory Buffer",
	// Allocation of Resources Without Limits or Throttling
	770: "Denial of Service (DoS)",
	// Improper Verification of Cryptographic Signature
	347: "Improper Verification of Cryptographic Signature",
	// Integer Overflow or Wraparound
	190: "Integer Overflow",
	// Loop with Unreachable Exit Condition ('Infinite Loop')
	835: "Infinite Loop",
	// Improperly Controlled Modification of Dynamically-Determined Object Attributes
	915: "Improper Object Validation",
	// Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
	444: "HTTP Request Smuggling",
	// Unintended Reentrant Invocation of Non-reentrant Code Via Nested Calls
	1265: "Unbounded Control Flow",
	617:  "",
	285:  "",
	416:  "",
	522:  "",
	59:   "",
	732:  "",
	369:  "",
	908:  "",
	1333: "",
	532:  "",
	327:  "",
	693:  "",
	203:  "",
	120:  "",
	276:  "",
	613:  "",
	415:  "",
	843:  "",
	754:  "",
	209:  "",
	306:  "",
	384:  "",
	755:  "",
	88:   "",
	330:  "",
	208:  "",
	345:  "",
	116:  "",
	552:  "",
	319:  "",
	639:  "",
	256:  "",
	697:  "",
	326:  "",
	674:  "",
	290:  "",
	377:  "",
	682:  "",
	80:   "",
	824:  "",
	248:  "",
	346:  "",
	471:  "",
	662:  "",
	312:  "",
	338:  "",
	665:  "",
	367:  "",
	93:   "",
	131:  "",
	134:  "",
	776:  "",
	91:   "",
	1236: "",
	23:   "",
	281:  "",
	917:  "",
	379:  "",
	681:  "",
	640:  "",
	704:  "",
	// Improper Control of Dynamically-Managed Code Resources
	913:  "Code Manipulation",
	297:  "",
	378:  "",
	184:  "",
	359:  "",
	426:  "",
	670:  "",
	789:  "",
	829:  "",
	95:   "",
	113:  "",
	1188: "",
	201:  "",
	252:  "",
	294:  "",
	404:  "",
	521:  "",
	610:  "",
	798:  "",
	122:  "",
	129:  "",
	185:  "",
	212:  "",
	331:  "",
	354:  "",
	401:  "",
	470:  "",
	772:  "",
	916:  "",
	130:  "",
	288:  "",
	307:  "",
	427:  "",
	494:  "",
	669:  "",
	922:  "",
	115:  "",
	117:  "",
	191:  "",
	250:  "",
	266:  "",
	305:  "",
	322:  "",
	325:  "",
	565:  "",
	667:  "",
	73:   "",
	834:  "",
	912:  "",
	12:   "",
	178:  "",
	183:  "",
	425:  "",
	436:  "",
	61:   "",
	64:   "",
	657:  "",
	696:  "",
	90:   "",
	112:  "",
	121:  "",
	204:  "",
	241:  "",
	280:  "",
	29:   "",
	321:  "",
	335:  "",
	441:  "",
	501:  "",
	538:  "",
	548:  "",
	690:  "",
	703:  "",
	75:   "",
	807:  "",
	909:  "",
	98:   "",
	1022: "",
	1104: "",
	1287: "",
	172:  "",
	188:  "",
	193:  "",
	213:  "",
	226:  "",
	279:  "",
	300:  "",
	328:  "",
	340:  "",
	358:  "",
	385:  "",
	402:  "",
	407:  "",
	433:  "",
	435:  "",
	524:  "",
	551:  "",
	602:  "",
	614:  "",
	664:  "",
	672:  "",
	706:  "",
	1220: "",
	1254: "",
	1258: "",
	126:  "",
	1336: "",
	150:  "",
	155:  "",
	173:  "",
	177:  "",
	24:   "",
	242:  "",
	253:  "",
	270:  "",
	273:  "",
	277:  "",
	303:  "",
	304:  "",
	35:   "",
	350:  "",
	391:  "",
	405:  "",
	409:  "",
	459:  "",
	460:  "",
	549:  "",
	62:   "",
	641:  "",
	644:  "",
	694:  "",
	799:  "",
	81:   "",
	820:  "",
	87:   "",
	940:  "",
	96:   "",
	1050: "",
	1068: "",
	1100: "",
	1119: "",
	1125: "",
	124:  "",
	1240: "",
	1255: "",
	1284: "",
	1286: "",
	1288: "",
	1295: "",
	1310: "",
	1312: "",
	147:  "",
	176:  "",
	195:  "",
	196:  "",
	197:  "",
	198:  "",
	202:  "",
	215:  "",
	228:  "",
	230:  "",
	233:  "",
	237:  "",
	240:  "",
	261:  "",
	267:  "",
	268:  "",
	27:   "",
	283:  "",
	289:  "",
	298:  "",
	309:  "",
	318:  "",
	323:  "",
	324:  "",
	329:  "",
	336:  "",
	34:   "",
	341:  "",
	344:  "",
	351:  "",
	36:   "",
	366:  "",
	394:  "",
	395:  "",
	40:   "",
	408:  "",
	420:  "",
	437:  "",
	440:  "",
	451:  "",
	453:  "",
	457:  "",
	466:  "",
	472:  "",
	475:  "",
	480:  "",
	509:  "",
	525:  "",
	526:  "",
	527:  "",
	544:  "",
	547:  "",
	567:  "",
	590:  "",
	6:    "",
	612:  "",
	620:  "",
	642:  "",
	648:  "",
	649:  "",
	653:  "",
	675:  "",
	684:  "",
	756:  "",
	757:  "",
	758:  "",
	779:  "",
	784:  "",
	825:  "",
	838:  "",
	842:  "",
	921:  "",
	942:  "",
	943:  "",
	99:   "",
}
